* tests/merge-2.ui: Use "position" instead of "pos".
* gtk/gtkuimanager.c (start_element_handler): No need
to be terse: Change the name of the "pos" attribute
to "position".
* gtk/tmpl/gtkuimanager.sgml: Change the name of the "pos"
attribute to "position".
+2003-09-04 Matthias Clasen <maclas@gmx.de>
+
+ * tests/merge-2.ui: Use "position" instead of "pos".
+
+ * gtk/gtkuimanager.c (start_element_handler): No need
+ to be terse: Change the name of the "pos" attribute
+ to "position".
+
2003-09-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c: Un-prefix GtkUIManagerNodeType and
GtkUIManagerNode to shorten the names and to make the
GTK_UI_MANAGER_<TYPE> names available for a public enum.
-
+
* gtk/gtkactiongroup.c:
* gtk/gtkuimanager.c: Various doc tweaks.
+2003-09-04 Matthias Clasen <maclas@gmx.de>
+
+ * tests/merge-2.ui: Use "position" instead of "pos".
+
+ * gtk/gtkuimanager.c (start_element_handler): No need
+ to be terse: Change the name of the "pos" attribute
+ to "position".
+
2003-09-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c: Un-prefix GtkUIManagerNodeType and
GtkUIManagerNode to shorten the names and to make the
GTK_UI_MANAGER_<TYPE> names available for a public enum.
-
+
* gtk/gtkactiongroup.c:
* gtk/gtkuimanager.c: Various doc tweaks.
+2003-09-04 Matthias Clasen <maclas@gmx.de>
+
+ * tests/merge-2.ui: Use "position" instead of "pos".
+
+ * gtk/gtkuimanager.c (start_element_handler): No need
+ to be terse: Change the name of the "pos" attribute
+ to "position".
+
2003-09-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c: Un-prefix GtkUIManagerNodeType and
GtkUIManagerNode to shorten the names and to make the
GTK_UI_MANAGER_<TYPE> names available for a public enum.
-
+
* gtk/gtkactiongroup.c:
* gtk/gtkuimanager.c: Various doc tweaks.
+2003-09-04 Matthias Clasen <maclas@gmx.de>
+
+ * tests/merge-2.ui: Use "position" instead of "pos".
+
+ * gtk/gtkuimanager.c (start_element_handler): No need
+ to be terse: Change the name of the "pos" attribute
+ to "position".
+
2003-09-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c: Un-prefix GtkUIManagerNodeType and
GtkUIManagerNode to shorten the names and to make the
GTK_UI_MANAGER_<TYPE> names available for a public enum.
-
+
* gtk/gtkactiongroup.c:
* gtk/gtkuimanager.c: Various doc tweaks.
+2003-09-04 Matthias Clasen <maclas@gmx.de>
+
+ * tests/merge-2.ui: Use "position" instead of "pos".
+
+ * gtk/gtkuimanager.c (start_element_handler): No need
+ to be terse: Change the name of the "pos" attribute
+ to "position".
+
2003-09-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c: Un-prefix GtkUIManagerNodeType and
GtkUIManagerNode to shorten the names and to make the
GTK_UI_MANAGER_<TYPE> names available for a public enum.
-
+
* gtk/gtkactiongroup.c:
* gtk/gtkuimanager.c: Various doc tweaks.
2003-09-04 Matthias Clasen <maclas@gmx.de>
+ * gtk/tmpl/gtkuimanager.sgml: Change the name of the "pos"
+ attribute to "position".
+
* gtk/tmpl/gtkactiongroup.sgml: Doc tweaks.
2003-09-02 Matthias Clasen <maclas@gmx.de>
<!ELEMENT menuitem EMPTY >
<!ELEMENT toolitem EMPTY >
<!ELEMENT separator EMPTY >
-<!ATTLIST menubar name #IMPLIED >
-<!ATTLIST toolbar name #IMPLIED >
-<!ATTLIST popup name #IMPLIED >
-<!ATTLIST placeholder name #IMPLIED >
-<!ATTLIST menu name #IMPLIED
- action #REQUIRED
- pos (top|bot) #IMPLIED >
-<!ATTLIST menuitem name #IMPLIED
- action #REQUIRED
- pos (top|bot) #IMPLIED >
-<!ATTLIST toolitem name #IMPLIED
- action #REQUIRED
- pos (top|bot) #IMPLIED >
+<!ATTLIST menubar name #IMPLIED >
+<!ATTLIST toolbar name #IMPLIED >
+<!ATTLIST popup name #IMPLIED >
+<!ATTLIST placeholder name #IMPLIED >
+<!ATTLIST menu name #IMPLIED
+ action #REQUIRED
+ position (top|bot) #IMPLIED >
+<!ATTLIST menuitem name #IMPLIED
+ action #REQUIRED
+ position (top|bot) #IMPLIED >
+<!ATTLIST toolitem name #IMPLIED
+ action #REQUIRED
+ position (top|bot) #IMPLIED >
</programlisting>
There are some additional restrictions beyond those specified in the
DTD, e.g. every toolitem must have a toolbar in its anchestry and
</variablelist>
</para>
<para>
-The pos attribute determines where a constructed widget is positioned
+The "position" attribute determines where a constructed widget is positioned
wrt. to its siblings in the partially constructed tree. If it is
"top", the widget is prepended, otherwise it is appended.
</para>
action = attribute_values[i];
action_quark = g_quark_from_string (attribute_values[i]);
}
- else if (!strcmp (attribute_names[i], "pos"))
+ else if (!strcmp (attribute_names[i], "position"))
{
top = !strcmp (attribute_values[i], "top");
}
<ui>
<menubar>
<menu name="FileMenu" action="FileMenuAction">
- <menuitem name="New" action="NewAction" pos="top" />
+ <menuitem name="New" action="NewAction" position="top" />
<separator />
<menuitem name="Quit" action="QuitAction" />
</menu>
</placeholder>
</toolbar>
<popup name="FileMenu" action="FileMenuAction">
- <menuitem name="New" action="NewAction" pos="top" />
+ <menuitem name="New" action="NewAction" position="top" />
<menu name="HelpMenu" action="HelpMenuAction">
<menuitem name="About" action="AboutAction" />
</menu>